package com.edooteach.api.handler;

/**
 * 
 * @author mohanlan
 *
 */
public interface SmsSender {
    
    /**
     * 
     * @param mobile
     * @return
     */
    public String generateVerifyCode(String mobile);
    
    /**
     * 
     * @param mobile
     * @param code
     * @return 
     */
    public boolean sendVerifyCode(String mobile, String code);
    
    /**
     * 
     * @param mobile
     * @param code
     * @param token
     * @return
     */
    public boolean checkVerifyCode(String mobile, String code, String token);
    
    /**
     * 
     * @param mobile
     * @param content
     * @return
     */
    public boolean sendMessage(String mobile, String content);
}
